
package
{
	import editor.common.AppFacade;
	import editor.common.Common;
	import editor.common.CursorManager;
	import editor.common.UIManager;
	import editor.manager.MapManger;
	import editor.map.GMap;
	
	import flash.display.Sprite;
	import flash.display.StageAlign;
	import flash.display.StageScaleMode;
	import flash.system.System;
	
	
	/**
	 * @author 缺硒
	 */
	[SWF(width="1440", height="900", frameRate="60")]
	public class MapEditor2 extends Sprite
	{
		
		// 构造函数
		public function MapEditor2()
		{
			stage.scaleMode = StageScaleMode.NO_SCALE;
			stage.align 	= StageAlign.TOP_LEFT;
			
			AppFacade.getIntance();
			
			Common.stage 	= stage;
			Common.cursor 	= CursorManager.getInstance();
			Common.ui 		= UIManager.getInstance();
			Common.map 		= MapManger.getInstance();
			
			this.addChild(new GMap());
			UIManager.getInstance().bindContianer(this);
		}
		//
	}
}